<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"	
	xmlns:p="http://primefaces.org/ui"
	xmlns:hmrSearch="http://java.sun.com/jsf/composite/search">	
	

	<p:dialog id="findTraining" header="#{msgs.FindTraining}"  widgetVar="wfindTraining" modal="true" style="padding: 0px; margin: 0px;"> 
		<hmrSearch:trainingSearch handler="#{trainingBean.trainingSearchComp}" onSearchComplete="wfindTraining.hide();" 
			searchUpdate=":listTrainingForm:trainingsTable"	showResultsPanel="false" />
	</p:dialog>

	<p:confirmDialog message="#{msgs.DoYouReallyWantToDeleteThisEntry}"	header="#{msgs.Warning}" severity="alert" widgetVar="wconfExcTraining">
		<h:form prependId="false">
			<p:commandButton value="#{msgs.Yes}" oncomplete="wconfExcTraining.hide();"	process="@form" actionListener="#{trainingBean.deleteTraining}"
				update=":listTrainingForm:trainingsTable, :growl, :content"  />
			<p:commandButton value="#{msgs.No }" onclick="wconfExcTraining.hide();"	type="button" />
		</h:form>
	</p:confirmDialog>
	
	
	

</html>	